#include <iostream>

// 值传递函数
void valuePass(int num) {
    num = 10;
    std::cout << "Inside valuePass: num = " << num << std::endl;
}

int main() {
    int x = 5;
    valuePass(x);
    std::cout << "In main: x = " << x << std::endl;
    return 0;
}